Other Protocols

The following protocols are available globally.

  • Platform-dependent login presenters that present custom login views must adopt this protocol.

    See more

    Declaration

    Swift

    public protocol OAuth2CustomAuthorizerUI
  • An object adopting this protocol is responsible of the creation of the login controller

    See more

    Declaration

    Swift

    public protocol OAuth2PasswordGrantDelegate: class
  • The base type for every FHIR element.

    See more

    Declaration

    Swift

    public protocol FHIRType
  • A protocol to handle FHIRType when working with JSON - which in our case is all FHIR types.

    See more

    Declaration

    Swift

    public protocol FHIRJSONType: FHIRType
  • Platform-dependent authorizers must adopt this protocol.

    See more

    Declaration

    Swift

    public protocol OAuth2AuthorizerUI
  • A simple protocol for loggers used in OAuth2.

    The OAuth2DebugLogger is a simple implementation that logs to stdout. If you need more sophisticated logging, just adapt this protocol and set your logger on the OAuth2 instance you’re using.

    See more

    Declaration

    Swift

    public protocol OAuth2Logger